package com.business.business.web.mapper;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.business.business.model.BusinessFirefightingplan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BusinessFirefightingplanMapper extends BaseMapper<BusinessFirefightingplan> {
    IPage<BusinessFirefightingplan> firefightingplanListPage(Page<BusinessFirefightingplan> page, @Param("param") JSONObject jsonParam);

    BusinessFirefightingplan firefightingplanDetail(String id);

    Integer firefightingPlanCount(String businessId);
}
